projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71e6181
)
(xmenu_show): Don't cons on subprefix_stck[j] if nil.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 16 Apr 1994 03:50:38 +0000
(
03:50
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 16 Apr 1994 03:50:38 +0000
(
03:50
+0000)
src/xmenu.c
patch
|
blob
|
history
diff --git
a/src/xmenu.c
b/src/xmenu.c
index 9614e75243083d91bb557c3ddf712024220a9289..83f559a1fdc0c1a75386bb9ddd8195f4f0999858 100644
(file)
--- a/
src/xmenu.c
+++ b/
src/xmenu.c
@@
-1727,7
+1727,8
@@
xmenu_show (f, x, y, menubarp, keymaps, title, error)
if (!NILP (prefix))
entry = Fcons (prefix, entry);
for (j = submenu_depth - 1; j >= 0; j--)
- entry = Fcons (subprefix_stack[j], entry);
+ if (!NILP (subprefix_stack[j], entry))
+ entry = Fcons (subprefix_stack[j], entry);
}
return entry;
}